<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title></title>
    </h:head>
    <h:body>
        <h:form>
            <h:panelGrid columns="3">
                <h:outputText value="Ønsket brugernavn" />
                <h:inputText value="#{user.brugerNavn}">
                    <f:ajax/>
                </h:inputText>
                <h:outputText value="#{user.brugerNavn}" id="brugerNavnValidation" />

                <h:outputText value="Email" />
                <h:inputText value="#{user.email}" >
                    <f:ajax />
                </h:inputText>
                <h:outputText value="" id="emailValidation" />
                
                <h:outputText value="Ønsket password" />
                <h:inputSecret value="#{user.password}">
                    <f:ajax />
                </h:inputSecret>
                <h:outputText value="" />
                
                <h:outputText value="Gentag password" />
                <h:inputText value="#{user.passwordCheck}">
                    <f:ajax />
                </h:inputText>
                <h:outputText value="" id="passwordValidation" />
                
            </h:panelGrid>
            <hr />
            <h:panelGrid columns="3">
                <h:outputText value="#{userBean.user.forNavn}" />
                <h:inputText >
                    
                </h:inputText>
                <h:outputText />
                
                <h:outputText value="#{userBean.user.efterNavn}" />
                <h:inputText >
                    
                </h:inputText>
                <h:outputText />
                
                <h:outputText value="#{userBean.user.id}" />
                <h:inputText >
                    
                </h:inputText>
                <h:outputText />
            </h:panelGrid>
            <h:commandButton value="" action="#{userBean.newUser()}"/> 
        </h:form>
    </h:body>
</html>